import request from '@/utils/request'

export function fetchList(query) {
  return request({
    url: '/appProductRepertory/list',
    method: 'post',
    params: query
  })
}

export function remove(ids) {
  return request({
    url: '/appProductRepertory/remove',
    method: 'post',
    params: {
      ids: ids
    }
  })
}

export function add(params) {
  return request({
    url: '/appProductRepertory/add',
    method: 'post',
    params
  })
}

export function see(id) {
  return request({
    url: '/appProductRepertory/see/' + id,
    method: 'post'
  })
}

export function modify(params) {
  return request({
    url: '/appProductRepertory/modify',
    method: 'post',
    params
  })
}

export function addCount(params) {
  return request({
    url: '/appProductRepertory/addCount',
    method: 'post',
    params
  })
}

